package appapi.dto.bridge;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/10/27 11:08
 */
@Data
@ApiModel(value = "设备实时数据返回")
public class RealDeviceDataDto {
    @ApiModelProperty(value = "位置 left right")
    private String Position;
    @ApiModelProperty(value = "记录时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime realTime;
    @ApiModelProperty(value = "风速(塔吊)")
    private Double windSleep;
    @ApiModelProperty(value = "塔高(塔吊)")
    private Double towerHeight;
    @ApiModelProperty(value = "幅度(塔吊)")
    private Double towerTravel;
    @ApiModelProperty(value = "臂长(塔吊)")
    private Double armLength;
    @ApiModelProperty(value = "吊钩高度(塔吊)")
    private Double hookHeight;
    @ApiModelProperty(value = "吊重(塔吊)")
    private Double towerWeight;
    @ApiModelProperty(value = "转角(塔吊)")
    private Double towerCorner;
    @ApiModelProperty(value = "力矩比(塔吊)")
    private Double torqueRatio;
    @ApiModelProperty(value = "升降机高度")
    private Double liftHeight;
    @ApiModelProperty(value = "挂篮重量")
    private Double basketWeight;
    @ApiModelProperty(value = "挂篮位移")
    private Double displacement;
    @ApiModelProperty(value = "温度(挂篮)")
    private Double temperature;
    @ApiModelProperty(value = "湿度(挂篮)")
    private Double humidity;
}
